﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Modules/AdminFrame.Master"
    AutoEventWireup="true" CodeBehind="SystemLog.aspx.cs" Inherits="Sasc.PV.Web.Admin.SystemManage.SystemLog" %>

<%@ Register Assembly="Sasc.PV.Web" Namespace="Sasc.PV.Web" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <table style="width: 100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
                    &nbsp;<img src="<%:ResolveUrl("~/images/BanKuaiJianTou.gif") %>" />
                    <a class="hei" href="~/MyDesk">桌面</a>&nbsp;>>&nbsp;系统管理&nbsp;>>&nbsp;系统日志管理
                </td>
                <td align="right" valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
                    用户：<asp:TextBox ID="TextBox2" runat="server" Height="20px" Width="60px" CssClass="lookuptarget"></asp:TextBox>
                    
                       <cc1:lookuphyperlink runat="server" DialogHeight="400" DialogWidth="350" DialogURL="~/Admin/SelectUser"
                        MergeValue="false" LookupTarget=".lookuptarget" ID="UsersTextBoxLookupHyperLink"></cc1:lookuphyperlink>
                    内容：
                    <asp:TextBox ID="TextBox1" runat="server" Height="20px" Width="100px">
                    </asp:TextBox> <asp:ImageButton ID="SearchImageButton" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/images/Button/BtnSerch.jpg" OnClick="SearchImageButton_Click" />
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    
              
                    <asp:ImageButton ID="DeleteImageButton" runat="server" CssClass="listview_deletebutton" ImageUrl="~/images/Button/BtnDel.jpg" ImageAlign="AbsMiddle" OnClick="DeleteImageButton_Click" />
                    &nbsp;
                    <asp:ImageButton ID="ReportImageButton" runat="server" ImageUrl="~/images/Button/BtnReport.jpg" ImageAlign="AbsMiddle" OnClick="ReportImageButton_Click" />
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/Button/JianGe.jpg" ImageAlign="AbsMiddle" />
                    <asp:ImageButton ID="GoBackImageButton" runat="server" ImageUrl="~/images/Button/BtnExit.jpg" ImageAlign="AbsMiddle"  CssClass="gobackbutton" />
                </td>
            </tr>
        </table>
        <table style="width: 100%">
            <tr>
                <td>
                  



                     <asp:GridView ID="GVData" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
                    BorderStyle="Groove" BorderWidth="1px" OnRowDataBound="GVData_RowDataBound" PageSize="15" CssClass="mainlistview"
                    Width="100%">
                    <PagerSettings Mode="NumericFirstLast" Visible="False" />
                    <PagerStyle BackColor="LightSteelBlue" HorizontalAlign="Right" />
                    <HeaderStyle BackColor="#DEDEDE" Font-Size="12px" ForeColor="Black" Height="20px" />
                    <AlternatingRowStyle BackColor="WhiteSmoke" />
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:Label ID="LabVisible" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ID")%>'
                                    Visible="False"></asp:Label>
                                <asp:CheckBox ID="CheckSelect" runat="server" class="selectrow_checkbox" />
                            </ItemTemplate>
                            <HeaderStyle Width="20px" />
                            <HeaderTemplate>
                                <input id="CheckBoxAll" type="checkbox" class="listview_checkall"/>
                            </HeaderTemplate>
                        </asp:TemplateField>
                        
                             <asp:BoundField DataField="UserName" HeaderText="用户名">
                                <ItemStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="TimeStr" HeaderText="日志时间">
                                <ItemStyle Width="130px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="DoSomething" HeaderText="日志内容"></asp:BoundField>
                            <asp:BoundField DataField="IpStr" HeaderText="IP地址"></asp:BoundField>


                    </Columns>
                    <RowStyle HorizontalAlign="Center" Height="25px" />
                    <EmptyDataTemplate>
                        <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td align="center" style="border-right: black 1px; border-top: black 1px; border-left: black 1px; border-bottom: black 1px; background-color: whitesmoke;">该列表中暂时无数据！</td>
                            </tr>
                        </table>
                    </EmptyDataTemplate>
                </asp:GridView>
                </td>
            </tr>


            <tr>
                <td style="border-top: #000000 1px solid; border-bottom: #000000 1px solid">
                <asp:ImageButton ID="BtnFirst" runat="server" CommandName="First" ImageUrl="~/images/Button/First.jpg"
                    OnClick="PagerButtonClick" />
                <asp:ImageButton ID="BtnPre" runat="server" CommandName="Pre" ImageUrl="~/images/Button/Pre.jpg"
                    OnClick="PagerButtonClick" />
                <asp:ImageButton ID="BtnNext" runat="server" CommandName="Next" ImageUrl="~/images/Button/Next.jpg"
                    OnClick="PagerButtonClick" />
                <asp:ImageButton ID="BtnLast" runat="server" CommandName="Last" ImageUrl="~/images/Button/Last.jpg"
                    OnClick="PagerButtonClick" />
                &nbsp;第<asp:Label ID="LabCurrentPage" runat="server" Text="Label"></asp:Label>页&nbsp; 共
                <asp:Label ID="LabPageSum" runat="server" Text="Label"></asp:Label>页&nbsp;
                <asp:TextBox ID="TxtPageSize" runat="server"  CssClass="TextBoxCssUnder1 TxtPageSize" Height="20px" Width="35px">15</asp:TextBox>
                行每页 &nbsp; 转到第
                <asp:TextBox ID="GoPage" runat="server" CssClass="TextBoxCssUnder2 GoPage" Height="20px" Width="33px"></asp:TextBox>
                页&nbsp;
                <asp:ImageButton ID="ButtonGo" runat="server" CssClass="listview_gopagebutton"  ImageUrl="~/images/Button/Jump.jpg" OnClick="ButtonGo_Click" />
            </td>
            </tr>
        </table>
    </div>
</asp:Content>
